home *** CD-ROM | disk | FTP | other *** search
- Performs conditional processing in batch.
-
- IF [NOT] {string1==string2 | EXIST filename | EXISTDIR name} {command | batch}
-
- NOT negates the condition.
- string1, string2 can contain replaceable parameters and global variables.
- EXIST filename is true if the specified file exists. 'filename' can be
- wildcarded and preceded by a volume and path spec. If
- 'filename' identifies a directory the condition is not
- satisfied.
- EXISTDIR name is true if the specified directory exists. 'name' can be
- preceded by a volume and path spec. If 'name' identifies a
- file the condition is not satisfied.
- command is the command to be executed if the condition is satisfied.
- batch identifies the batch file to be executed if the condition
- is satisfied.
-